package com.ruoyi.vehicle.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 时间阀值设置对象 tb_threshold
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbThreshold extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 顺风车ID */
    private Long thresholdId;

    /** 城市 */
    @Excel(name = "城市")
    private Long cityId;

    /** 服务类型;0：是；1：否 */
    @Excel(name = "服务类型;0：是；1：否")
    private Long serviceId;

    /** 阀值类型 */
    @Excel(name = "阀值类型")
    private Long thresholdType;

    /** 时间(分钟) */
    @Excel(name = "时间(分钟)")
    private String times;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long userId;

    public void setThresholdId(Long thresholdId) 
    {
        this.thresholdId = thresholdId;
    }

    public Long getThresholdId() 
    {
        return thresholdId;
    }

    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }

    public void setServiceId(Long serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Long getServiceId() 
    {
        return serviceId;
    }

    public void setThresholdType(Long thresholdType) 
    {
        this.thresholdType = thresholdType;
    }

    public Long getThresholdType() 
    {
        return thresholdType;
    }

    public void setTimes(String times) 
    {
        this.times = times;
    }

    public String getTimes() 
    {
        return times;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("thresholdId", getThresholdId())
            .append("cityId", getCityId())
            .append("serviceId", getServiceId())
            .append("thresholdType", getThresholdType())
            .append("times", getTimes())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .toString();
    }
}
